home *** CD-ROM | disk | FTP | other *** search
- Subject: Selection Problem
- Sent: 6/27/96 5:49 AM
- Received: 6/27/96 8:54 AM
- From: Serge Froment, sfroment@odyssee.net
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- My part supports discontinuous selection. According to HI guidelines
- regarding selection, dragging inside the selection with the command key
- down deselects a part of the selection. According to HI guidelines
- regarding Drag & Drop, dragging inside the selection drags the selection.
-
- This means I must act differently depending on whether the command key is
- down or not. Right?
-
- Then I must change the cursor to reflect this. But FW_CView::AdjustCursor
- does not gives me the null event to let me know if the command key is
- down...
-
- And I may have another problem. If the user presses the command key while
- inside the selection without moving the mouse, then I must change the
- cursor. Will OpenDoc/ODF call AdjustCursor in that case? I know this is an
- old MacOS problem because WaitNextEvent does not gives control back to the
- application unless the cursor is moved. I have seen articles giving a
- solution that involves trap patching. With Copland nearby (more or less),
- this is no more a solution, specially in an OpenDoc context.
-
- Does someone have a clue for a solution to those problems?
-
- Serge
-
-